package com.zeei.ems.base.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 对应数据库表为：t_bas_user
 * 
 * @author 
 * @date 2021-07-27
 */
public class UserVO implements Serializable {
    /**
     * 用户ID
     * 对应表字段：USERID
     */
    private Integer userid;
    /**
     * 会议通讯录用户ID
     */
    private Integer contactUserId;

    /**
     * 用户所属单位ID
     * 对应表字段：COMPID
     */
    private Integer compid;

    /**
     * 用户所属部门ID
     * 对应表字段：DEPTID
     */
    private Integer deptid;

    /**
     * 用户姓名
     * 对应表字段：USERNAME
     */
    private String username;

    /**
     * 用户登录名
     * 对应表字段：LOGINNAME
     */
    private String loginname;

    /**
     * 用户登录密码
     * 对应表字段：LOGINPW
     */
    private String loginpw;

    /**
     * 用户手机
     * 对应表字段：TEL
     */
    private String tel;

    /**
     * 用户邮箱
     * 对应表字段：EMAIL
     */
    private String email;

    /**
     * 状态，-1已删除0禁用1正常
     * 对应表字段：USTATUS
     */
    private Integer ustatus;

    /**
     * 创建人ID
     * 对应表字段：CREATEID
     */
    private Integer createid;

    /**
     * 创建时间
     * 对应表字段：CREATETIME
     */
    private Date createtime;

    /**
     * 更新人id
     * 对应表字段：UPDATEUSERID
     */
    private Integer updateuserid;

    /**
     * 更新时间
     * 对应表字段：UPDATETIME
     */
    private Date updatetime;

    /**
     * 失效时间
     * 对应表字段：INVALIDTIME
     */
    private Date invalidtime;

    /**
     * 使用的皮肤
     * 对应表字段：SKIN
     */
    private String skin;

    /**
     * 登录失败次数
     * 对应表字段：LOGINFAILCOUNT
     */
    private Integer loginfailcount;

    /**
     * 上次登录失败时间
     * 对应表字段：LOGINFAILTIME
     */
    private Date loginfailtime;

    /**
     * SSO登录用户名
     * 对应表字段：SSOUSERNAME
     */
    private String ssousername;

    /**
     * 身份证号
     * 对应表字段：IDCARD
     */
    private String idcard;

    /**
     * 对应表字段：age
     */
    private Integer age;

    /**
     * 修改密码时间
     * 对应表字段：UPDPWDTIME
     */
    private Date updpwdtime;

    private static final long serialVersionUID = 1L;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getContactUserId() {
        return contactUserId;
    }

    public void setContactUserId(Integer contactUserId) {
        this.contactUserId = contactUserId;
    }

    public Integer getCompid() {
        return compid;
    }

    public void setCompid(Integer compid) {
        this.compid = compid;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getLoginpw() {
        return loginpw;
    }

    public void setLoginpw(String loginpw) {
        this.loginpw = loginpw == null ? null : loginpw.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getUstatus() {
        return ustatus;
    }

    public void setUstatus(Integer ustatus) {
        this.ustatus = ustatus;
    }

    public Integer getCreateid() {
        return createid;
    }

    public void setCreateid(Integer createid) {
        this.createid = createid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(Integer updateuserid) {
        this.updateuserid = updateuserid;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getInvalidtime() {
        return invalidtime;
    }

    public void setInvalidtime(Date invalidtime) {
        this.invalidtime = invalidtime;
    }

    public String getSkin() {
        return skin;
    }

    public void setSkin(String skin) {
        this.skin = skin == null ? null : skin.trim();
    }

    public Integer getLoginfailcount() {
        return loginfailcount;
    }

    public void setLoginfailcount(Integer loginfailcount) {
        this.loginfailcount = loginfailcount;
    }

    public Date getLoginfailtime() {
        return loginfailtime;
    }

    public void setLoginfailtime(Date loginfailtime) {
        this.loginfailtime = loginfailtime;
    }

    public String getSsousername() {
        return ssousername;
    }

    public void setSsousername(String ssousername) {
        this.ssousername = ssousername == null ? null : ssousername.trim();
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard == null ? null : idcard.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getUpdpwdtime() {
        return updpwdtime;
    }

    public void setUpdpwdtime(Date updpwdtime) {
        this.updpwdtime = updpwdtime;
    }

    /**
     * toString
     * @return 
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userid=").append(userid);
        sb.append(", compid=").append(compid);
        sb.append(", deptid=").append(deptid);
        sb.append(", username=").append(username);
        sb.append(", loginname=").append(loginname);
        sb.append(", loginpw=").append(loginpw);
        sb.append(", tel=").append(tel);
        sb.append(", email=").append(email);
        sb.append(", ustatus=").append(ustatus);
        sb.append(", createid=").append(createid);
        sb.append(", createtime=").append(createtime);
        sb.append(", updateuserid=").append(updateuserid);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", invalidtime=").append(invalidtime);
        sb.append(", skin=").append(skin);
        sb.append(", loginfailcount=").append(loginfailcount);
        sb.append(", loginfailtime=").append(loginfailtime);
        sb.append(", ssousername=").append(ssousername);
        sb.append(", idcard=").append(idcard);
        sb.append(", age=").append(age);
        sb.append(", updpwdtime=").append(updpwdtime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}